﻿@{
    ViewBag.Title = "Form";
    Layout = "~/Views/Shared/_ManufactureList.cshtml";
}
<script type="text/javascript">
    $(function () {
        initControl();
        partsList();
    });
    function initControl() {
        var myLayout = $('#layout').layout({ resizable: false });
        $('select').bindSelect();
    }
    function btn_ok() {
        parent.$.detailClose();
    }
    function btn_cancel() {
        parent.$.detailClose();
    }
</script>
<div class="ui-layout" id="layout" style="height: 100%; width: 100%;">
    <div class="ui-layout-center">
        <form id="form1">
            <div style="width:950px;margin:0 auto;">
                <table class="form" style="width:900px;text-align:right;margin:15px;border-bottom:2px solid #ccc;">
                    <tr>
                        <td class="formValue input-width-185" style="width:500px;padding-left:100px;text-align:left;">
                            &nbsp;
                        </td>
                        <td style="width: 300px; padding: 5px 10px;">
                            <div class="btn-group" style="margin-right:20px;">
                                <a id="" class="btn btn-primary center-block" onclick="btn_ok()"><span class="glyphicon glyphicon-ok"></span> 确认</a>
                            </div>
                            <div class="btn-group">
                                <a id="" class="btn btn-primary center-block" onclick="btn_cancel()"><span class="glyphicon glyphicon-remove"></span> 取消</a>
                            </div>
                        </td>
                    </tr>
                </table>
                <table class="form" style="width: 900px;">
                    <tr>
                        <th class="formTitle">备件编号</th>
                        <td class="formValue input-width-320">
                            <input id="" type="text" class="form-control required" value="" />
                        </td>
                        <th class="formTitle">参考图号</th>
                        <td class="formValue input-width-320">
                            <input id="" type="text" class="form-control" value="" />
                        </td>                        
                    </tr>
                    <tr>
                        <th class="formTitle">备件名称</th>
                        <td class="formValue input-width-320">
                            <input id="" type="text" class="form-control required" value="" />
                        </td>
                        <th class="formTitle">计量单位</th>
                        <td class="formValue input-width-320">
                            <select id="" name="" class="form-control"></select>
                        </td>
                    </tr>
                    <tr>
                        <th class="formTitle">备件类型</th>
                        <td class="formValue input-width-320">
                            <select id="" name="" class="form-control">
                            </select>
                        </td>
                        <th class="formTitle">备件规格</th>
                        <td class="formValue input-width-320">
                            <input id="" type="text" class="form-control" value="" />
                        </td>
                    </tr>
                    <tr>
                        <th class="formTitle">备注说明</th>
                        <td class="formValue input-width-320">
                            <input id="" name="" type="text" class="form-control" placeholder="" />
                        </td>
                        <th class="formTitle">&nbsp;</th>
                        <td class="formValue input-width-320">
                            &nbsp;
                        </td>
                    </tr>
                </table>
            </div>
        </form>
    </div>
</div>

